<?php
class ProducersModel extends CI_Model {
	function getProducerName($producerid){
		$sql = "select NAME from producers where PRODUCERID = $producerid";
		$data = $this->db->query($sql);
		return $data;		
	}
}
?>